package Java0108;

public class Test0707 {
    public static void main(String[] args) {
        A a1= new A();
        a1.start();
        A a2 = new A();
        a2.start();







    }

        }
class A extends Thread {
    @Override
    public void run() {
        while (true) {
            System.out.println(Thread.currentThread().getName());
        }
    }
}
